package org.tomac.io;

import java.io.IOException;
import java.nio.ByteBuffer;

public interface ILogHandle {

	public void write(ByteBuffer buf) throws IOException;
	
	public int read(ByteBuffer buf, int beginSeqNo, int endSeqNo);
	
	public void flush() throws IOException;
	
	public void close() throws IOException;
	

}
